package com.bluedot.www.core.pojo.DTO;

import com.bluedot.www.core.pojo.DO.Right;
import com.bluedot.www.core.pojo.DO.Role;

import java.io.Serializable;
import java.util.List;

/**
 * @author ZhouXuan
 * @version 1.0
 * @date 2021/9/2 10:34
 */
public class RoleDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色
     */
    private Role role;

    /**
     * 已有权限列表
     */
    private List<Right> existRights;


    /**
     * 未有权限列表
     */
    private List<Right> notExistRights;

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public List<Right> getExistRights() {
        return existRights;
    }

    public void setExistRights(List<Right> existRights) {
        this.existRights = existRights;
    }

    public List<Right> getNotExistRights() {
        return notExistRights;
    }

    public void setNotExistRights(List<Right> notExistRights) {
        this.notExistRights = notExistRights;
    }

    @Override
    public String toString() {
        return "RoleDTO{" +
                "role=" + role +
                ", existRights=" + existRights +
                ", notExistRights=" + notExistRights +
                '}';
    }
}
